import React from 'react'
import { Breadcrumb } from 'antd'
const { Item } = Breadcrumb
interface BreadcrumbProps {
    crumbs: string[]
}
const MyBreadcrumb = ({ crumbs }: BreadcrumbProps) => {
    return (
        <Breadcrumb className="mb10">
            { crumbs.map(item => <Item key={item}>{item}</Item>) }
        </Breadcrumb>
    )
}
export default MyBreadcrumb